package com.example.domain;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class ProviderService {
    @Autowired
    private ProviderDao providerDao;

    @Transactional
    public void save(Provider provider) {
        this.providerDao.save(provider);
    }
}
